set(BIN_NAME gio_test)

# gio
find_package(PkgConfig REQUIRED)
pkg_check_modules(GLib REQUIRED glib-2.0)
message(STATUS "libs:" ${GLib_LIBRARIES})
message(STATUS "includes:" ${GLib_INCLUDE_DIRS})
add_executable(${BIN_NAME} main.cpp)
target_include_directories(${BIN_NAME} PUBLIC ${GLib_INCLUDE_DIRS})
target_link_libraries(${BIN_NAME} glib-2.0 gio-2.0 gobject-2.0)